﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _04.模板模式
{
    /// <summary>
    /// 模板模式 - Template Method Pattern
    /// 适用场景：流程一致，处理方式不一致
    /// </summary>
    class Program
    {
        static void Main(string[] args)
        {
            ProcessTemplate pt = ProcessFactory.CreateProcess(2);
            pt.Process();

            Console.ReadKey();

        }
    }
}
